package mdm.com.web.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import mdm.com.sap.model.Reason;
import mdm.com.web.dao.ReasonMapper;
import mdm.com.web.service.IReasonService;


@Service("iReasonService")
public class ReasonServiceImpl implements IReasonService {

    private final ReasonMapper reasonMapper;
    
    public ReasonServiceImpl(ReasonMapper reasonMapper) {
        this.reasonMapper = reasonMapper;
    }
    
    @Override
    public List<Reason> getReason() {
        return reasonMapper.getReason();
    }

}
